Skip to content

feat: add standalone certification.json output#46

Merged
GuyZivRH merged 1 commit into
mainfrom
feat/certification-json
Jul 8, 2026
Merged

feat: add standalone certification.json output#46
GuyZivRH merged 1 commit into
mainfrom
feat/certification-json

Conversation

@GuyZivRH

@GuyZivRH GuyZivRH commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Create certification.json alongside scorecard.json for easier consumption by systems that only need certification status
  • Include certification.json in MinIO upload

Changes

  • scripts/aggregate_scorecard.py: Added write_certification() function
  • scripts/publish.py: Added certification.json to core upload files

certification.json structure

{
  "submission_name": "...",
  "pipeline_run_id": "...",
  "highest_level": "foundational|trusted|certified|none",
  "levels": {
    "foundational": { "passed": bool, "checks": [...], "failure_reasons": [...] },
    "trusted": { "passed": bool, "checks": [...], "failure_reasons": [...] },
    "certified": { "passed": bool, "checks": [...], "failure_reasons": [...] }
  },
  "created_at": "ISO timestamp"
}

Test plan

  • Run pipeline and verify certification.json is created in reports directory
  • Verify certification.json is uploaded to MinIO

Made with Cursor

Create certification.json alongside scorecard.json for easier consumption
by systems that only need certification status.

- Add write_certification() to aggregate_scorecard.py
- Include certification.json in MinIO upload (publish.py)
- Contains: highest_level, per-level passed/checks/failure_reasons

Co-authored-by: Cursor <cursoragent@cursor.com>
@GuyZivRH GuyZivRH merged commit 0d842ce into main Jul 8, 2026
1 check passed
@GuyZivRH GuyZivRH deleted the feat/certification-json branch July 8, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant